﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Automation;
using System.Diagnostics;
using Compiled_Tests;
using LEET.LEETCommon;

namespace LEET.CommonInterfaces.Automation
{
    public interface AutomationElementEventListener : IDisposable
    {
        void Listen(IObservableWidget widget);
        void Listen(IObservableWidget widget, String property, String newValue);
        event EventDelegate Handlers;
        bool Listening { get; }
    }

    public delegate void EventDelegate(IProcess sender, IEvent_Pair ep);
}
